﻿namespace DomainSerializer.Domains
{
	using System;
	using System.Runtime.Serialization;

	[DataContract]
	public class User : IDomain
	{
		public enum Status { User, Partner, GoldenPartner };

		[DataMember]
		public string Login { get; set; }

		[DataMember]
		public string FirstName { get; set; }

		[DataMember]
		public string LastName { get; set; }

		[DataMember]
		public string Password { get; set; }

		[DataMember]
		public string Email { get; set; }

		[DataMember]
		public string Phone { get; set; }

		[DataMember]
		public string Adress { get; set; }

		[DataMember]
		public bool NewProductsReporting { get; set; }

		[DataMember]
		public DateTime RegistrationDate { get; set; }

		[DataMember]
		public int Discount { get; set; }

		[DataMember]
		public Status UserStatus { get; set; }
	}
}
